CREATE TABLE [dbo].[TMOPRC_RESU]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_OPRC_CNTB] [dbo].[TD_VC_003] NOT NULL,
[NO_OPRC] [dbo].[TD_VC_100] NULL,
[ST_ASTO_RESU] [dbo].[TD_VC_001_SINO] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TMOPRC_RE__FE_US__145C0A3F] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TMOPRC_RE__FE_US__15502E78] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TMOPRC_RESU] WITH NOCHECK ADD CONSTRAINT [CK__TMOPRC_RE__ST_AS__1367E606] CHECK NOT FOR REPLICATION (([ST_ASTO_RESU]='N' OR [ST_ASTO_RESU]='S'))
GO
ALTER TABLE [dbo].[TMOPRC_RESU] ADD CONSTRAINT [PK__TMOPRC_R__6488DCFF44FF419A] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_OPRC_CNTB]) ON [PRIMARY]
GO
